package com.zhisheng.day10_tlias.service;

import com.zhisheng.day10_tlias.dto.EmpQueryDto;
import com.zhisheng.day10_tlias.entry.Emp;

import java.util.List;
import java.util.Map;

public interface EmpService {
    public Map<String,Object> findPageByCondition(EmpQueryDto dto);

    int delByIds(List<Integer> ids);

    int insertEmp(Emp emp);

    Emp findEmpById(Integer id);

    int updateEmp(Emp emp);

    String selectEmpByUsernameAndPassword(Emp emp);

    int delByDeptId(Integer id);
}
